<?php
$plugins = array(
    array(
        'plugin_key' => 'iadminos_sms',
        'plugin_name' => 'iAdminOS短信组件',
        'plugin_author' => 'iAdminOS官方',
        'plugin_price' => '0',
        'plugin_status' => 0, // 0未安装
        'plugin_version' => '1.0',
        'plugin_op' => '<a href="http://www.iadminos.com/plugins/iadminos_sms.zip" target="_blank">免费下载</a>',
    ),
    array(
        'plugin_key' => 'iadminos_oauth',
        'plugin_name' => 'iAdminOS统一认证插件',
        'plugin_author' => 'iAdminOS官方',
        'plugin_price' => '0',
        'plugin_status' => 0, // 0未安装
        'plugin_version' => '1.0',
        'plugin_op' => '<a href="http://www.iadminos.com/plugins/iadminos_oauth.zip" target="_blank">免费下载</a>',
    ),
    array(
        'plugin_key' => 'iadminos_rights',
        'plugin_name' => 'iAdminOS权限管理',
        'plugin_author' => 'iAdminOS官方',
        'plugin_price' => '0',
        'plugin_status' => 0, // 0未安装
        'plugin_version' => '1.0',
        'plugin_op' => '<a href="http://www.iadminos.com/plugins/iadminos_rights.zip" target="_blank">免费下载</a>',
    ),
);

header('Content-Type:application/json; charset=utf-8');
echo json_encode(array('plugins' => $plugins, 'total' => 1));
exit();
